package cn.frh.basic.service;

import cn.frh.basic.query.BaseQuery;
import cn.frh.basic.util.pageList;

import java.util.List;

public interface IBaseService<T> {

    void save(T t);
    void update(T t);
    void remove(Long id);
    T loadById(Long Id);
    List<T> loadAll();

    pageList<T> queryPage(BaseQuery baseQuery);
    //批删
    void patchRemove(List<Long> ids);
}
